package com.ibeeking.gmc.global.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TenantWxAppletsDo
 * @Description
 * @Author ibeeking
 * @Date 2021-01-25 15:03
 **/
@Data
@TableName("gmc_open_config")
public class OpenConfigDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 微信开放平台配置名字
     */
    @TableField(value = "name")
    private String name;
    /**
     * 开放平台类型：1=微信开放平台；2=企业微信开放平台；3=支付宝开放平台；4=钉钉开放平台
     */
    @TableField(value = "type")
    private Integer type;
    /**
     * 开放平台子类型
     */
    @TableField(value = "sub_type")
    private Integer subType;
    /**
     *开放平台appid
     */
    @TableField(value = "open_app_id")
    private String openAppId;
    /**
     * 开放平台app secret
     */
    @TableField(value = "open_app_secret")
    private String openAppSecret;

    /**
     * 第三方平台的appid
     */
    @TableField(value = "component_app_id")
    private String componentAppId;

    /**
     * 微信第三方平台的Secret
     */
    @TableField(value = "component_secret")
    private String componentSecret;

    /**
     * 微信第三方平台消息服务器配置的token
     */
    @TableField(value = "component_msg_token")
    private String componentMsgToken;

    /**
     * 微信第三方平台消息服务器配置的EncodingAESKey
     */
    @TableField(value = "component_msg_aes_key")
    private String componentMsgAesKey;
    /**
     * 应对不用应用配置的差异Json
     */
    @TableField(value = "extend_json")
    private String extendJson;

    /**
     * http代理主机
     */
    @TableField(value = "http_proxy_host")
    private String httpProxyHost;

    /**
     * http代理端口
     */
    @TableField(value = "http_proxy_port")
    private Integer httpProxyPort;

    /**
     * http代理用户名
     */
    @TableField(value = "http_proxy_username")
    private String httpProxyUsername;

    /**
     * http代理密码
     */
    @TableField(value = "http_proxy_password")
    private String httpProxyPassword;

    /**
     * 是否启用，1-启用，0-禁用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
}
